.rotating-words-text{
	font-size: 500px;
}

.rw-wrapper{
	width: 80%;
	position: relative;
	margin: 1em 0 0 3em;
	padding: 10px;
	font-size: 25px;
}

.rotating-words-text{
	width: 80%;
	position: relative;
	margin: 110px 0 0 0;
	padding: 10px;
	font-size: 25px;
}

.rw-sentence{
	margin: 0;
	text-align: left;
}
.rw-sentence span{
	font-size: 200%;
	font-weight: bold;
}
.rw-words{
	display: inline;
	text-indent: 10px;
}
.rw-words span{
	position: absolute;
	opacity: 0;
	overflow: hidden;
	width: 100%;
	color: #84978F;
}

.rw-words-2 span{
	-webkit-animation: rotateWordsSecond 20s linear infinite 0s;
	-moz-animation: rotateWordsSecond 20s linear infinite 0s;
	-o-animation: rotateWordsSecond 20s linear infinite 0s;
	-ms-animation: rotateWordsSecond 20s linear infinite 0s;
	animation: rotateWordsSecond 20s linear infinite 0s;
}

.rw-words span:nth-child(2) { 
    -webkit-animation-delay: 5s; 
	-moz-animation-delay: 5s; 
	-o-animation-delay: 5s; 
	-ms-animation-delay: 5s; 
	animation-delay: 5s; 
	color: #527578;
}
.rw-words span:nth-child(3) { 
    -webkit-animation-delay: 10s; 
	-moz-animation-delay: 10s; 
	-o-animation-delay: 10s; 
	-ms-animation-delay: 10s; 
	animation-delay: 10s; 
	color: #47423F;	
}
.rw-words span:nth-child(4) { 
    -webkit-animation-delay: 15s;
	-moz-animation-delay: 15s; 
	-o-animation-delay: 15s; 
	-ms-animation-delay: 15s; 
	animation-delay: 15s; 
	color: #FFFFFF;
}

@-webkit-keyframes rotateWordsSecond {
    0% { opacity: 1; -webkit-animation-timing-function: ease-in; width: 0px; }
    10% { opacity: 1; width: 0px; }
	20% { opacity: 1; width: 100%; }
    35% { opacity: 0; width: 100%; }
    100% { opacity: 0; }
}
@-moz-keyframes rotateWordsSecond {
    0% { opacity: 1; -moz-animation-timing-function: ease-in; width: 0px; }
    10% { opacity: 1; width: 0px; }
	20% { opacity: 1; width: 100%; }
    35% { opacity: 0; width: 100%; }
    100% { opacity: 0; }
}
@-o-keyframes rotateWordsSecond {
    0% { opacity: 1; -o-animation-timing-function: ease-in; width: 0px; }
    10% { opacity: 1; width: 0px; }
	20% { opacity: 1; width: 100%; }
    35% { opacity: 0; width: 100%; }
    100% { opacity: 0; }
}
@-ms-keyframes rotateWordsSecond {
    0% { opacity: 1; -ms-animation-timing-function: ease-in; width: 0px; }
    10% { opacity: 1; width: 0px; }
	20% { opacity: 1; width: 100%; }
    35% { opacity: 0; width: 100%; }
    100% { opacity: 0; }
}
@keyframes rotateWordsSecond {
    0% { opacity: 1; animation-timing-function: ease-in; width: 0px; }
    10% { opacity: 1; width: 0px; }
	20% { opacity: 1; width: 100%; }
    35% { opacity: 0; width: 100%; }
    100% { opacity: 0; }
}
@media screen and (max-width: 768px){
	.rw-sentence { font-size: 8px; }
}
@media screen and (max-width: 320px){
	.rw-sentence { font-size: 9px; }
}
